// 话题
const mongoose = require('mongoose')

const {Schema, model} = mongoose

const TopicSchema = new Schema({
  __v:{type: Number,select:false},
  name: { type: String, required: true}, // 话题名称
  avatar_url: { type: String}, // 话题图片
  introduction:{type: String, select: false}, // 话题简介
})

module.exports = model('Topic', TopicSchema)